ancestor

fun ancestor(great: Int): Path

Repeatedly gets parent. ancestor(0) is this, ancestor(1) is parent, and so on.

Sources

js source
Link copied to clipboard